<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
   xmlns:f="http://java.sun.com/jsf/core"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:ui="http://java.sun.com/jsf/facelets">
   <h:head id="head">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <title>Welcome to JSF 2.0 on the Google AppEngine!</title>
   </h:head>
   <h:body id="body">
  <h:messages ></h:messages>
<h:form>
<h:selectOneMenu value="#{cargaCursoBean.cursoSeleccionado}">
<f:converter converterId="eo"></f:converter>
<f:selectItems value="#{cargaCursoBean.cursos}" 
var="curso"
itemLabel="#{curso.id}" itemValue="#{curso}" >
</f:selectItems>
</h:selectOneMenu>
<h:dataTable var="curso" value="#{cargaCursoBean.cursos}" 
border="1">
<h:column>
#{curso.id}
</h:column>
<h:column>
#{curso.nombre}
</h:column>

</h:dataTable>	
<h:commandButton value="graba" action="#{cargaCursoBean.escucha}"/>
</h:form>
	
      
      
</h:body>
</html>